﻿<?xml version="1.0" encoding="utf-8"?>
<List xmlns:ows="Microsoft SharePoint" Title="ChatRooms" FolderCreation="FALSE" Direction="$Resources:Direction;" Url="Lists/hzWeb-ChatRooms" BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/">
  <MetaData>  
    <Fields>
      <Field ShowInViewForms="FALSE" ShowInNewForm="FALSE" ShowInEditForm="FALSE" DisplayName="群组名称" Name="Title" Type="Text" ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}"/>
      <Field DisplayName="群组名称" Name="RoomName" Type="Text" ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd248}" EnforceUniqueValues="TRUE" Indexed="TRUE" Required="TRUE"/>      
      <Field ID="{149E6247-2391-4AFE-B294-219FA33AAED2}" Type="UserMulti" Mult="TRUE"  UserSelectionMode="PeopleOnly" Name="ChatRoomAdmins" DisplayName="管理员" Required="TRUE" />
      <Field ID="{4F99BCEB-07F6-48FA-80E2-C08AC47E80D2}" Type="UserMulti" Mult="TRUE"  UserSelectionMode="PeopleOnly" Name="ChatRoomMembers" DisplayName="成员" Required="TRUE" />
      <Field ID="{A8A9F6E7-5786-417A-93DD-1A80EF447DB1}" Type="Text" StaticName="MeetingSubject" Name="MeetingSubject" DisplayName="会议主题" ShowInEditForm="FALSE" ShowInNewForm="TRUE" ShowInViewForms="TRUE" Viewable="TRUE" ShowInDisplayForm="TRUE" Required="TRUE"/>
      <Field ID="{444E707F-FA94-4001-A362-9649EE2E3164}" Type="Text" StaticName="ChatDescription" Name="ChatDescription" DisplayName="通知" ShowInEditForm="TRUE" ShowInNewForm="TRUE" ShowInViewForms="TRUE" Viewable="TRUE" ShowInDisplayForm="TRUE"/>      
      <Field ID="{F6341E0B-0678-4563-942D-BF5F080E93F6}" Type="Text" StaticName="ChatRoomID" Name="ChatRoomID" DisplayName="群组标识" ShowInEditForm="FALSE" ShowInNewForm="FALSE" ShowInViewForms="TRUE" Viewable="TRUE" ShowInDisplayForm="TRUE"/>
      <Field ID="{7B5B66CD-98C7-4DE9-A49C-7331E1060B6E}" Type="Text" StaticName="ChatRoomSecurityGroupAdmin" Name="ChatRoomSecurityGroupAdmin" DisplayName="管理员组" ShowInEditForm="FALSE" ShowInNewForm="FALSE" ShowInViewForms="TRUE" Viewable="TRUE" ShowInDisplayForm="TRUE"/>
      <Field ID="{592928B3-77D5-4A2C-ABC5-D4D8FCFAA64F}" Type="Text" StaticName="ChatRoomSecurityGroupMember" Name="ChatRoomSecurityGroupMember" DisplayName="成员组" ShowInEditForm="FALSE" ShowInNewForm="FALSE" ShowInViewForms="TRUE" Viewable="TRUE" ShowInDisplayForm="TRUE"/>
      <Field ID="{F6BD33ED-B5AF-496E-9544-6A409B44FCD5}" Type="Text" StaticName="ChatRoomSite" Name="ChatRoomSite" DisplayName="群组空间" ShowInEditForm="FALSE" ShowInNewForm="FALSE" ShowInViewForms="TRUE" Viewable="TRUE" ShowInDisplayForm="TRUE"/>
      <Field ID="{F6AD33ED-B5AF-496E-9844-6A409B44FCD7}" Type="Text" StaticName="MeetingRoomUrl" Name="MeetingRoomUrl" DisplayName="会议室" ShowInEditForm="FALSE" ShowInNewForm="FALSE" ShowInViewForms="TRUE" Viewable="TRUE" ShowInDisplayForm="TRUE"/>
      <Field ID="{D1C3B90E-ABC0-4F8B-8C54-7C375158A981}" Type="Note" ShowInViewForms="FALSE" ShowInNewForm="FALSE" ShowInEditForm="FALSE" StaticName="SIP" DisplayName="SIP地址" Name="SIP"/>
      <Field DisplayName="群组名称" Name="LinkTitle" ShowInViewForms="FALSE" ShowInNewForm="FALSE" ShowInEditForm="FALSE" Type="Calculated" ID="{82642ec8-ef9b-478f-acf9-31f7d45fbc31}" Sealed="TRUE"/>
      <Field StaticName="RoomStatus"  ShowInNewForm="FALSE" ShowInEditForm="FALSE" DisplayName="状态" Name="RoomStatus" Type="Text" ID="{218EEB0C-4CBF-4395-BF34-81C72B24E671}" EnforceUniqueValues="TRUE" Indexed="TRUE" Required="TRUE"/>
    </Fields>
    <Views>
      <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef DisplayName="Room Name" Name="LinkTitle" ID="{82642ec8-ef9b-478f-acf9-31f7d45fbc31}"/>
          <FieldRef Name="ChatDescription"></FieldRef>
          <FieldRef Name="ChatRoomID"></FieldRef>
          <FieldRef Name="ChatRoomSecurityGroupAdmin"></FieldRef>
          <FieldRef Name="ChatRoomSecurityGroupMember"></FieldRef>
          <FieldRef Name="ChatRoomAdmins"></FieldRef>
          <FieldRef Name="ChatRoomMembers"></FieldRef>
          <FieldRef Name="ChatRoomSite"></FieldRef>
          <FieldRef Name="MeetingRoomUrl"></FieldRef>
          <FieldRef Name="RoomStatus"></FieldRef>
        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="Modified" Ascending="FALSE"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_ONET_HOME)" />
        </ParameterBindings>
      </View>
      <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/generic.png" Url="AllItems.aspx">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="Attachments"></FieldRef>
          <FieldRef Name="LinkTitle"></FieldRef>
          <FieldRef Name="ChatDescription"></FieldRef>
          <FieldRef Name="ChatRoomID"></FieldRef>
          <FieldRef Name="ChatRoomSecurityGroupAdmin"></FieldRef>
          <FieldRef Name="ChatRoomSecurityGroupMember"></FieldRef>
          <FieldRef Name="ChatRoomSite"></FieldRef>
        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="ID"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
        </ParameterBindings>
      </View>
    </Views>
    <Forms>
      <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="EditForm" Url="EditForm.aspx" SetupPath="features\$SharePoint.Feature.DeploymentPath$\ChatRooms\UpdateChatRoom.aspx" WebPartZoneID="Main" />
      <Form Type="NewForm" Url="NewForm.aspx" SetupPath="features\$SharePoint.Feature.DeploymentPath$\ChatRooms\NewChatRoom.aspx" WebPartZoneID="Main" />
    </Forms>
  </MetaData>
</List>